﻿using AutoMapper;
using IMES.Common.Domain.KeepModel;
using IMES.Common.Domain.KeepModel.Process;
using IMES.Common.Domain.KeepModel.ProductionFile;
using Keep.API.Appliction.Command.DepartmentFile;
using Keep.API.Appliction.Command.ProcessFile;
using Keep.API.Appliction.Command.WarehouseFile;
using Keep.API.Common.L.Dtos;

namespace Keep.API.Common
{
    /// <summary>
    /// AutoMapper配置
    /// </summary>
    public class AutoMapperPro:Profile
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public AutoMapperPro()
        {
            //CreateMap<EmployeeRouterCommon, Employee>().ReverseMap();
            CreateMap<DepartmentCreateCommon, Department>();
            CreateMap<WarehouseCreateCommon, WarehouseManagement>(); ;
            CreateMap<ProcessRouteDto, ProcessRoute>();
            CreateMap<WorkingProcedureCreateCommon, WorkingProcedure>();
            CreateMap<WorkSheetDto, workSheet>();
			CreateMap<ProductionPlan, ProductionPlan>();
		}
    }
}
